package main

type User struct {
	Name string
}

func (u *User) GetName() string {
	return u.Name
}

func main() {
	s := &User{Name: "喜羊羊"}
	s = nil
	s.GetName()
}
